import request from '@/utils/request'

//首页-月周转率
export function getMonthTurnover(data) {
    return request({
        url: '/storage/category/indexMonthlyTurnover',
        method: 'post',
        data: data,
    })
}

//首页-高龄库存
export function getAgedInventory(data) {
    return request({
        url: '/storage/category/indexAgedInventory',
        method: 'post',
        data: data,
    })
}

//首页-高龄库存
export function getProportionOfVarietiesByMonth(data) {
    return request({
        url: '/storage/category/indexProportionOfVarietiesByMonth',
        method: 'post',
        data: data,
    })
}

//首页-净流入量情况(按月)
export function getNetInflowMonthly(data) {
    return request({
        url: '/storage/category/indexNetInflowMonthly',
        method: 'post',
        data: data,
    })
}

//首页-货物情况汇总
export function getSummaryOfGoods(data) {
    return request({
        url: '/storage/category/indexSummaryOfGoods',
        method: 'post',
        data: data,
    })
}

